<template>
    <div>
        <h3>-Child-</h3>
        <Son :attr="$attrs"></Son>
    </div>
</template>

<script>
import Son from "@/components/Son.vue";

export default {
    name: "Child",
    components: {
        Son
    },
    props: ['click','age'],  // App没传 undefined
    mounted() {
        console.log("Child",this)
        this.$listeners.click()
        this.$emit("click")
    }
}
</script>